package com.woniu.defecttracking.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author tiangle
 * @since 2021-12-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("bug_info")
@ApiModel(value="BugInfo对象", description="")
public class BugInfo implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "缺陷序号")
    @TableId(value = "bug_id", type = IdType.AUTO)
    private Integer bugId;

    @ApiModelProperty(value = "项目编号")
    private Integer projectId;

    @ApiModelProperty(value = "上级缺陷")
    private Integer parentIssueId;

    @ApiModelProperty(value = "缺陷名称")
    private String bugNum;

    @ApiModelProperty(value = "缺陷描述")
    private String bugDesc;

    @ApiModelProperty(value = "指派给")
    private Integer assignee;

    @ApiModelProperty(value = "缺陷分类   type_code类型的代码")
    private Integer bugTypeId;

    @ApiModelProperty(value = "缺陷严重  程度表severity_code类型的代码")
    private Integer savarityId;

    @ApiModelProperty(value = "优先级   缺陷优先级表priority_code类型的代码")
    private Integer priorityId;

    @ApiModelProperty(value = "预计开始日期")
    private String planStartTime;

    @ApiModelProperty(value = "预计结束日期")
    private String planEndTime;

    @ApiModelProperty(value = "实际开始日期")
    private String actStartTime;

    @ApiModelProperty(value = "实际结束日期")
    private String actEndTime;

    @ApiModelProperty(value = "预计工时数")
    private BigDecimal planWorkHours;

    @ApiModelProperty(value = "实际工时数")
    private BigDecimal actWorkHours;

    @ApiModelProperty(value = "分配时间")
    private String assignedTime;

    @ApiModelProperty(value = "完成要求")
    private String doneCondition;

    @ApiModelProperty(value = "完成百分比")
    private Integer doneRatio;

    @ApiModelProperty(value = "缺陷状态    表state_code类型的代码")
    private Integer bugState;

    @ApiModelProperty(value = "创建人")
    private Integer createPerson;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "修改人")
    private Integer modifyPerson;

    private String file;

    @ApiModelProperty(value = "修改时间")
    private String modifyTime;

    @ApiModelProperty(value = "逻辑删除")
    private Integer isDelete;


}
